Add history and flag getters