[TypeCast]Apply type cast to Alarm and NetworkBearerSelection modules.