Speed up DictAttribute setting slightly.