Creating prepare and flush to push work onto pipe definition from updater.
Implemented applyRounding.