Add default implementations for the virtual context methods.