Fixed hard_trim -> hard_clip.