Added serializer, classifier pseudocode