Change send404() to error('404') in examples.