simplify loader constructors