Initialize metadata provider.