Removed unneccessary code.