Support for return type for BIND
Performance improvement using saved type names in documents