Move the notFound state declaration to the configure() options.