Add some features to REST API