Define property class
Generate writing data from template
Better support for writing ints and doubles