+ protected fun addAlbum(album: Album, albumId: String? = null) {
+ albums[albumId ?: album.id] = album
+ }
+
+ protected fun addImage(image: Image, imageId: String? = null) {
+ images[imageId ?: image.id] = image
+ }
+
+ protected fun addTranslation(key: String, value: String) {
+ translations[key] = value
+ }
+