Added new documentation.

Added new documentation for things like the exception handler and the loop with
its new functions.