As mentioned earlier, try to use getSparkCallsite for this... If you need to modify getSparkCallsite, that is fine.