Removed old function that didn't return anything.