Removed unused function in spatializer.