Moved paths into an abstract type, rewrote the import handling in the trans1 step.