Added RESTful support