Add API methods for saving comments and posts