Extract method from the Admin constructor