Handling top level with undeclared