Added a dollar sign to many fields of AttributeList to reduce the possibility of name clashes.