Update methods and add parameters doc.

Split eliminate method in three new methods, change names to some
functions, add doc.