Bundles shared calls to IO functions to perform them only once