Updated docs so the examples are not executed as tests
Mark all methods as private