Allow overriding of required attribute