Warning/error functions added.