[Extensions] Remove unused function