Removing unecessary lines.