Refactored domain getter