Added more details to new OOP API and created example implementation.