Setup hooks on file parse rather than OnLoad.
Resolves odd Dependency errors.