Remove redundant ref

Todo has become a class and is passed by reference by default now.