Fixed registering new form definition