Documentation and code formatting