Make compatible with R15 (was using function new in R16)