Storing reference to the API context, instead of query for it every request