Inline and hard-code configuration when set-up is always the same

The matcher pattern and the values extracted from it are always the
same. For simpler code, the setter is removed, the values are
hard-coded, and some values are inlined.
Retain text element in keydef value

Previously only tm element was retained and all other elements were
ignored.