deprecating handlers and typed responses for simple callback and generics