Added support to add all types of publications.