Added auto mapping route variables.