implement some additional context methods to make hibernate happy