Make $kw configurable.