added route support for plugins