update API of Context class to require array as scope parameter instead of Scope object