Add new "func" helper (reference #43)