CDK-139: Adding back deprecated constructors.