Changed to hook.

Tested and verified to work with vanilla buckets.