Added https functions.