Removed old unused function.