Add some JavaDoc after changes, set Warningpriority optional