Common types for Lie groups and Lie algebras