Implement Serializable.
Add javadoc & test.
Fix illegal javadoc tag.
Decouple XML-related guys from core to enable building separate jar.
Add javadoc and test.
Remove seldom-used error handling methods.