CDK-320: Move metadata provider to SPI