Add example for using class