Delete unused function.