Split Tree and Box into abstract and implementing classes.