Add basic history support