TODO: Remove monkeypatching and decorate the connection instead!
This file may seem to have duplication with that of truncation, but by keeping them separate we avoiding loading this code when it is not being used (which is the common case).
Generated with the Darkfish Rdoc Generator 2.