Implemented serialisation of some properties.