Fixing some warning messages.