Fixed duplicate methods in Unit.java and fixed types of Documents in DocumentsFragment.java.