Implemented namednodemap, attr and element classes.