Update serializers.py

Remove unused functions