Small API wrapper