Switched from _pop_ and _endregion_ to pop_ and unregion_.