Removing unecessary code.