Fix superclass mismatch error