Switch to HashSet (from ArrayList) for flags in Arguments + Improve JavaDocs everywhere