Fixing the compile time errors.