improve type of TypedProxy