mod, mods, attr, attrs: Do not ignore undefined values (close #42)