Deleted old hooks functionality