Allow the context to be accessed so that custom methods defined on it can be accessed via the state classes through the state machine