support passing additional instances to the filter context