Added tentative (untested) acontext->context function.