Java doc for the enum class Type added.