Added read/write methods to Attr interface. Implemented read/write for first few types.