Add API to get the built filter.