Fix hook appending to up and destroy actions.