Added __get() and __set() magic methods