register serializer method def added