BZ-1065524: Fixing class constructor.