Removinng unused function.