Added error and warn elements