Document changes, mostly taken from @vbartoni's original work