Functionality for attributeNames() added.