Updated comment and removed unused function.