Removes code not in use.