Added null checks to Load().