provide useful error if attribute defined as required but with init_arg => undef