Allow hooks to be applied to newly added DOM elements