Remove scope_name function