Documentation and final fixes