Removed old function.