Clean up ParametricCallable.
Fixed handling of legacy Command.flags/.anyFlags.

Fixes WORLDEDIT-3137.