Remove duplicate code from the fat file.