Added REST interface