Split REST services out into a separate plugin.