Don't set undefined attributes.