This could be moved into line 92 (into `handler`), I suppose.