Added Scope class to handle the binary scope variable.
Added ordinal spec.