Added Load function, work in progress.