Introduce helper functions for finding USB end-points.