Add docs for SQL balanced code.