Add JavaDoc to dm package