Add init() to API.txt for completeness
Fix tag array extraction