Fixed warnings which stopped compilation.