Fix Reference contract typos