Adjust behavior to what is expected in documentation
Add autocommit parameter + docs