Add some pythonic changes.