Add validation that a non-custom method must have an entity def defined