Reapplied fix to routes: trimmed trailing whitespaces.
Reapplied fix to routes: fixed inconsistent new lines.
Reapplied fix to routes: fixed missing semicolons.