Corrected typing errors.