Initial integration of gallery.