remove priorities.
split phase into parts.
constants cannot be overridden.
set active handler.