Rename hook to handler