Adding more functionality for metadata and semantic types.