Added an abstract implementation of the VariableFilter - provides a utility method that is fired on each variable iteration.