Initial implementation of 'Diaryable' module. Could be moved into a gem at a later date.