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

close #42