Fixed minor spelling mistake.
Minor code cleanup: validation of options to member function.
Fixed typo