Add examples for hash and classes