Support filtering by reference