Add REST support