Check for package before redeclaring