But what does c_scan return if not a reference to an entity? ent_for_name should work as well then.