Fix Route object instantiation