use reftype named packages instead of 0