priority handling for hooks added through extensions "hook" context property priority