Cleans out unused code