Moved RaygunClient initialization to the constructor.