provide merge functionality and let attrs() return the names of attributes only