Added error msgs.