Added functions as arguments.