Code examples for class