Add serializer documentation.