Add methods to execution context

This is useful for refactoring keeping contexts safe.

Thanks to @APA42