Allow JArray and JString instances through function calling.