Tweak to #152 so that callables work as regparser type arguments again