Finished implementing functionality to add publications.