This maybe should be a default part of publish, but I haven't decided if it is a good idea.. It could be configuratable.