Use context to simply the api.