core cleanup: move out struct sipe_publication