Remove use of config_value in history (ready for review)

Promised @lvh to remove `config_value` in history :)