Added ref to Scope