added additonalProperties. simplified add method. fixed set method. added addRaw method.