Passed TreeCell factory as argument.