Fixed a typo in the capitalize method.