Implement partial serialiser.