Added old hooks mixins for those who need an easier migration path from 2.4.x to 3.x.