Refactoring of the GameObject repositories to use the generic repository and unit of work pattern.