Removed an unused function.