Fixed minor spelling issue.

Just fixed a minor spelling issue in the Factory method section.