Expanded the allowed functions whitelist