Change type of askhost class