Add withNullability to Attribute and use it to change nullabilities.