more api doc for Scope, Variable