Move attribute assignment to Operators.