Add serializer support into tasks interface