Generalized FOCE with Pumas