added v4 documentation (no javadocs yet)