Support for representing resources as Atom XML.

Todo

Add more documentation