Add attribute accessor example