Fix unused typedef warning