Removes old unused code