Documentation and logging updates