Add ability to enable output wrapper with default value being an anonymous function