Extracted some 2i util methods into their own trait for modularization of the main helper class