Added getters and setters to HistoryObject class