Adding new method to hook onto buffer save