In the router.php example for Ext Direct I see there are 'before' and 'after' 'AroundCalls'. I also see that, unlike the main RPC calls, the doAroundCalls method only calls flat functions and does not appear to be able to call methods inside of classes. What is the main purpose for these before/after AroundCalls?

Thanks guys,