PR #1: Add typeApplications option for restricted functions