in had been inheriting from wrong superclass.
Had not been type checking not expression.  Fixed.