Extract shim functionality into bun module; Depend on bun