Fixed a bunch of errors. The name class now works.