Shared logic for bootstrap things