Updated docs for version 4