Update documents. Fix extra parameters bug.