Forward typedefs to fix compilation errors.