fix forward-declaration warnings.