Add load function.