Added optional callbacks for methods that make remote calls