Added attribute readers.
Implemented attribute writers.