Restore legacy constructor.