Add list of arguments for defineFunction