Rename _replace to Replace, to make pylint happy.
Rename "BasicType" to "NamedType", "containing_type" to "name".
Use Visit() instead of Process().
Maintain the order of return types when optimizing pytd.