Fixing table name
Correcting some documentation.
Making the handle and terminate functions have signatures more similar to dispatch().