Add LegacyTypes to .cabal file