add doc to static extern methods