Use custom entitlements if specified. (#366)