Ensured package declarations are correct