support Lists in dynamic library methods