Updated composer.json
Made deprecated RouteCollector methods private