Bugfix: Apply function to output.