fyi -- fixed this using a singleton class to cache hooks