Removed unecessary code.