system-level hooks. Used by the core to control runtime behavior