Added REST API interfaces.