Simplifies the DomainController class for AJAX operations.