Editing types were the wrong way around