OK, I could pass in the node and the mapping and set the properties in the method there, same for reading. Will do that.