Added paramaters, functions and callback section to docs
Removed implementation-specific stuff.