Attach hooks to submodules, too.

refs #11