fixed: removed literal reference to 'key' in __get and __set. should be $key