Refactoring style code & update doc.