Update error messages to use new method