Get filtering and pagination working.