Fix some errors flagged by the compiler.