Add check that non-serialized attributes are not.