De-duplicate truncate method of drivers
Update docs [ci-skip]
Fix access of member variable