Allow applying a function recursivly to display objects