Avoid using apply with lists as it may throw no some node versions.