Remove serialization attributes

This pull request removes the serialization attributes and adds basic support for error handling. Essentially it will be part of a series of small pull requests related to #5.

OMG yes... I will fix that (the reverse pipe is redundant). Thank you!