More functionality to REST API