Code format and documentation