Prevent infinite recursion