reagent: make accepted a cast for some speedup