add default callback and support for group/device keywords