Flask extension for work with bundles