Added documentation for the on_complete() function.
  Added links to the on_complete() function.
  Updated to work with the newer lua.cc implementation.