Added hook prioritising.
Lower-cased hook functions for consistency.