Call the merge_hook() instead of setting the state to &undefined.