The beginning of a safe ruby wrapper. Currently only includes context methods.