Added support for constructor args.