Emulate old constructor behavior