renames `wrap` method to `stack` and adds `inject` method.