Make unknown element handling configurable.