Or, just call the API function to do it for you.