Fix numpy API name retrieval