Simpler getting and putting using attributes.