Removed setValues and getValues with setValue and getValue. Also fixed up attribute handling.