Loading and diff code.