Fixes Routes not to assume array as the return type instead of the defined type. Fixes #295