Add history listener skeleton