Got rid of an unused function.