Removed unused function from utils.