Improved documentation for migrating to v4