Extend VariantFunction usage.

Add printing support & statistics to VariantFunctions