Add package 'tree' to core