Changed 'call' to 'apply' for inherited constructor