Make class self-contained
Update doc with usage example