allow route names to be specified on resources.