couldnt that be done inside `mapEmbeddable` function already?