Minor optimisation in Routes to use existing var $className
Fixes Routes to store content type properly so that array of a type is preserved. Fixes #315