Removing un-needed cast.