Added inline documentation
Added support for uses scope variable to populate attribute value