Fixed incorrect order of type and instance name.