Added XML documentation to SpecAttribute.
Addressed code analysis errors.