Improved getting data from the object. Improved setting data to the object.