add has_scope to names