Deprecated add_history