Only prepend hooks when called from Configuration