Wrap our pre-filter code.