Add cpg:scope_exists/1.