Implement __set and __return