Utilize __slots__ where needed. Fix comment formatting.