Algebraic types and `objects'