No longer imports from nani.
cleanup middleware.