Fix the add routes when there are no types defined
Merge pull request #29 from pcambra/no_type_defined

Fix the add routes when there are no types defined