allow wrapping of requesthandlers