Remove hostname and api key settings from option