Fix package declarations.