Add Common attributes in BasicAttributes.dll.

Some minor code clean-up and reinforce the design pattern.