please also add the old constructor signature for Java source compatibility