Refactoring faustine in beam.ml -> method output.