Add helper methods for API