STY: rename K -> trim. Explicit return None.