Fix some formulas

This fix is just to make things (generation of formulas) work. There are few bad (erroneous) descriptions of the methods and classes, i'll fix them later.