Changing list of types to mixin template