Handle recursive types.