Convert HTTP404 to a function.