Registering generic repository correctly in Unity.