Removes unused code and improves code readability