Deleted unused function.