Add return 2 to ok and allow multiple host types.