Removed an extra unused function