Refactor load into a shared impl