Adding middleware specs.
Extending stack so it could accept block when initializing.