Modify routes definition format