Removed unused function 'Scale'.