Reducing duplication and converting FTL to a module.