Make attribute definition override inferred attribute from header