Removed unused function.