Documentation and comments, final fixes.