Compiler was also getting confused and actually not removing the unused functions. So that also saves binary space.