more general type signature for class instance field filters