Main classes got documented and the API got slightly cleaner