[docs] clean up the context interface