Fixed some documentation errors.
Removed unneeded problem casts to String