Use templatePrepareFilters() method