Initialize routeTypes to array

Fixes #90
Merge pull request #91 from EmmanuelVella/patch-1

Initialize routeTypes to array