Fix package registration