Removed attribute colorCodeUpdateCounter in constructor.