After reading Python docs, change to indent-dedent approach.