Removing unused function.