Fixes issue with creation of identity before validation.