Changes to make Socketmodule and interpolator work together