Add hosts attr