Add extension method to easily enabled offline.