Mod: use new constructor method since we don't need to support PHP4