Added 404 errors to static controller.