Add further hooks for modules to determine mode types