Put tools on models to allow serialisation of email alarms and reminders.
Code style cleanup before review on server.