Make proper core_(pro|epi)logue, as suggested by pmichaud++