Match return value to type in available()