Fix for unused handler error in router