Changes Put Buffer to a HashMap.