It's not a good idea to use anonymous class here, but I think we should leave it as is as in nearest future Forks would be refactored (because Fork is actually Repo)