Make sure the last argument is a function