Changed the way how we parse function queries. This change makes it
more flexible to decide what is happening to each individual
argument of a function.