Superclass and subclass mixed up in macro.