final byte b = tupleInput.readByte();
Attribute attribute;
if (b == NORMAL_ATTRIBUTE) {
AttributeName name = nameBinding.entryToObject(tupleInput);
NodeType type = typeBinding.entryToObject(tupleInput);
attribute = new AttributeImpl(name, type);
} else if (b == NULLARY_ATTRIBUTE) {
attribute = NullaryAttribute.NULLARY_ATTRIBUTE;
} else {
throw new IllegalArgumentException("Cannot read class type: " + b);
}