Implement create and createIdentity.