Generate less code inside def/defs to gather block from method