Corrected constructor error.