Migrate API to new signtures. Add Alarm delete.