Avoid using extern and use standard types.