Add in history plugin