New API and pep8 cleanup (issue #383)
Make migrations not complain about empty routes