Removing unneeded code.