Add possibility to define list of types