Remove the unused repo collection and api collection classes