Fixing custom route issue from previous commit.