Add ldoc support