Are these boolean args? If so, this needs to be changed to accept an object where `enabled` and `alarm` are properties of that object.