Draft implementation of the context object