Minor change to class, added examples