Add missing constructor method