Changed offline check for exposes to class method