Fixes Insights "Code should not be duplicated"
Fixes Insights "A route should always have a valid HTTP method"
Fixes Insights "Unused method, property, variable or parameter"