(#20) Tidying netapp_qtree code.