Feature. Change gallery plagin. Add methods into gallery_model.