Added docu and set some members to "private".