Avoid error of instantiating abstract controller while collecting routes