Documentation and warning cleanup.