Added magic methods __get,__set