Fixes Routes to detect class of parameter correctly even when it is only defined at comment level. Closes #214