Remove unused namespace from RepositoryWrapper
Break out branch wrapper into own class