remove references to identity and repository services that are no longer needed