Update to use middleware modules.

This is a breaking change, middleware is no longer available via
property access on *middleware* assigned to the command module.
0.8.242
Update system middleware.
0.8.243
Update system middleware.
0.8.244