Removing imports and parameters from routes and services config.