Add magic __set method