Parse the last argument in a function is always the callback function