bWF.collectValues works with custom collector objects. Closes #12.