Allow a transform to have both a function and arguments.

This fixes a regression of the 6.17 behavior.

See: Jake's battle engine.