Added load function.