Class DynamicHandler<P,​R>