Rename `isWhitespace` to `isSpace`.
Reduce deps of `_.template`.