Fixed all remaining warnings.