I'm not sure but if I remember correctly, if n is in the args, it will come up here as a list (len(data) times the value of n). Same as the func test for list...

-> It would be nice to overwrite `__init__()` and store variables which are not used as data (n, func, args) as member variables and not in the layer