Refactor finalize_put as an object method

Change-Id: Iec3f53c564505c29739bb5531a71a0a101f64193
Signed-off-by: Peter Portante <peter.portante@redhat.com>
Merge "Refactor finalize_put as an object method"