Small bugfix. Improved builder to take an array of images.