Fix errors importing types.