Removed some unused code; explicitely types all cell pins

Change-Id: I1e90c4f689cb0f4c78038a038584944e506d215c