Proper hooks.