Fixed compile-time errors.