[TASK] Move Hook class to namespaces