Fixed spelling and syntactical errors in classes