Fix some hardcoded dense typedefs.