supporting auto init for loaders