ignores testing byproducts
function decorator, adds support for fine-tuning closure handling