Fix the default route params
Auto define getter and setter