fix for #426--api declarations wrapped in array