Removed unneeded code.