added docs for the context class