Externalize middleware package.
Kadira update.