Fixed a ton of errors in the casing method.