Deleted an unused function.