Removed method attributeExists
Modified method getAttribute