ir: Add type for visibility styles.