Methods for temporarily modifying global state
