diff --git a/Code/Mantid/PythonAPI/PythonAlgorithms/EQSANSTofOffset.py b/Code/Mantid/PythonAPI/PythonAlgorithms/EQSANSTofOffset.py
index b2371e5c5817490fe9c479cddac45bde78adca95..ce437801911a8eb69db50bc5ecc0e42c64da3506 100644
--- a/Code/Mantid/PythonAPI/PythonAlgorithms/EQSANSTofOffset.py
+++ b/Code/Mantid/PythonAPI/PythonAlgorithms/EQSANSTofOffset.py
@@ -24,7 +24,7 @@ class EQSANSTofOffset(PythonAlgorithm):
         return "EQSANSTofOffset"
 
     def PyInit(self):
-        self.declareProperty("InputWorkspace", "")
+        self.declareWorkspaceProperty("InputWorkspace", "", Direction.Input)
         self.declareProperty("FrameSkipping", False)
         self.declareProperty("Offset", 0.0, Direction=Direction.Output)
 
diff --git a/Code/Mantid/PythonAPI/PythonAlgorithms/EQSANSTransmission.py b/Code/Mantid/PythonAPI/PythonAlgorithms/EQSANSTransmission.py
index e132c32e5164cb7a40a4575e62fb29ff7bfd7abb..dac6029f071adae4ec3701367fe93004a1e7372a 100644
--- a/Code/Mantid/PythonAPI/PythonAlgorithms/EQSANSTransmission.py
+++ b/Code/Mantid/PythonAPI/PythonAlgorithms/EQSANSTransmission.py
@@ -40,7 +40,7 @@ class EQSANSTransmission(PythonAlgorithm):
 
     def PyInit(self):
         # Input workspace
-        self.declareProperty("InputWorkspace", "")
+        self.declareWorkspaceProperty("InputWorkspace", "", Direction.Input)
         # Output workspace to put the transmission histo into
         self.declareProperty("OutputWorkspace", "")
         # X position of the beam center