Make loader picking more robust.
Add list of images as input.
Fix type checking.