Added the ability to add history objects. We need to find a place for it as keeping it with the graphs is not good on performance.