Moving common validations to the DefaultIdentityManager.