Beginning to add some generic scratchpad functionality.