Allow group to have both options and arguments.
Correct a bug that raise an error when 'function' is declared in 'execute' section.