add missing module "Encode"