Deduplicate a lot of common components.

Change-Id: Ic3eb95119eed7a691c9cd0c677f28c87395b9415