Extend API to handle comment actions