Clearing unused code