Added missing registerScheduledTickHandler in previous commit.