Plugins system impl. Rest plugin is not work now.