Fix quickbook error.
Remove obsoleted functions from sample implementation.