Add implementation of server-side filtering