Add 'imask' to API; handle recurrence.