Updated Hook method signature to include required settings