Fixed to use the offset for the superclass.