Added method for hook name.