Ability to disable middleware hooks