Moved callbacks to tclib from plankton.