Sort out currying the load function