Added error support for setup.