this should be done by repository initializers, shouldn't it?