diff --git a/Sim/Export/SimulationToPython.cpp b/Sim/Export/SimulationToPython.cpp
index 01a339fbf5ae4049ed7865b347239963b805e616..92dbf6eaaca6ae21345b21b5ceff982add66f820 100644
--- a/Sim/Export/SimulationToPython.cpp
+++ b/Sim/Export/SimulationToPython.cpp
@@ -86,8 +86,8 @@ std::string defineScanResolution(const ScanResolution& sresol)
     std::ostringstream result;
     result << Py::Fmt2::printRangedDistribution(*sresol.rdistribution()) << "\n"
            << indent() << "resolution = "
-           << "ba." << sresol.resolutionFactoryName() << "(distribution, "
-           << Py::Fmt::printDouble(sresol.delta()) << ")\n";
+           << "ba.scanAbsoluteResolution(distribution, " << Py::Fmt::printDouble(sresol.delta())
+           << ")\n";
     return result.str();
 }
 
diff --git a/Sim/Scan/ScanResolution.h b/Sim/Scan/ScanResolution.h
index 9927581d4d433f963ae255102acb302c8ee06d3b..b6e49601e2704981bbae8170122c29a73510907d 100644
--- a/Sim/Scan/ScanResolution.h
+++ b/Sim/Scan/ScanResolution.h
@@ -3,7 +3,7 @@
 //  BornAgain: simulate and fit reflection and scattering
 //
 //! @file      Sim/Scan/ScanResolution.h
-//! @brief     Defines scan resolution class.
+//! @brief     Defines class ScanResolution.
 //!
 //! @homepage  http://www.bornagainproject.org
 //! @license   GNU General Public License v3 or higher (see COPYING)
@@ -17,15 +17,12 @@
 
 #include "Base/Types/ICloneable.h"
 #include <memory>
-#include <string>
 #include <vector>
 
 class IRangedDistribution;
 class ParameterSample;
 
-//! Abstract base class for reflectivity resolution functions.
-//! Child classes have local scope only (declared and implemented in ScanResolution.cpp);
-//! they can only be created through the factory functions declared below.
+//! Describes reflectivity resolution function.
 class ScanResolution : public ICloneable {
 public:
     ScanResolution(const IRangedDistribution& distr, double stddev);
@@ -45,10 +42,6 @@ public:
     std::vector<double> stdDevs(const std::vector<double>& mean) const;
 
     //... For export:
-    std::string resolutionFactoryName() const
-    {
-        return "scanAbsoluteResolution";
-    }
     double delta() const
     {
         return m_stddev;