Add filter coderef support to limit recursion