Create Loom

Try to move generic helper code to Loom.
Use correct method parameters.