Bugfix: Repeated custom types now generate correct List constructor.