Fixed final warnings, now there are no warnings.