Make history listener static