Interface for _get_availability.