API: wrap handlers with availability