add support for wildcard callbacks