Add examples for non-ref class
Add class option