added serializer class