Replaced ModuleScienceContainer casts with IScienceDataContainer for better compatibility with custom science container implementations