Reducing code size by removing low use functions