function() plugin for rework, formerly included in core