Added scope

Added scope attribute to tables.