It should be documented that this function does not commit by itself.