Update: Fix PDF function access check.