Added note in comments about hook order being important