Metadata filters, filter auto-registration, and unit tests.