common types and methods for Lie groups and Lie algebras