Update the API for consistency.