move member field construction to Hooks, add missing use statement