Remove ContentTypes middleware from primary repo