Added __name__='__main__' to example.