Code cleanup to use types specified in shared/cos_types.h rather than local types.h