Start of adding journal functions.