it looks like the added `domain` parameter got refactored out to not be used. should we kill it?