given that this will end up being configured per-project i wonder if we should either pass the domain in or make this an instance method  so the API is correct?