Add a method for scanning the call stack for a specific class