removed type hint from Controller::router() for BC reasons. Closes #1331