visitor: Don't print enum declaration types in enum blocks.