Code style and doc