Added a scope and attributes property.
Basic methods for the element.