Replace some [self class] refs

Changed references from [self class] to static strings that otherwise cause NSCoder warnings for subclasses.

Fixed an exception message along the same lines.