Remove duplicate routes

Minor: Would be more readable to define a variable for Object.keys(handler)[0]