Added a serializer framework