Refactored hook namespaces for logging