Forbidden some unused methods, add comments, clean code.