add support for class field elements and give better completion type name display