This is required for implementing filtering based on type lines.
assigned to @jari
mentioned in commit 747d43aa
merged