Fix package#type