Remove ref from metadata.

It's now in core.