Set the loader instead of the object