Initial support for TypedEntity.