Support for records from non-current sessions
Add reasons
Use array for otherparams

Seriously what was I doing when I wrote this the first time... Arrays are so
much easier to deal with!