Added getScopeOr function, and deletion.