Make python scripts use less memory by only calculation needed paths not all of them.
Print out template type if class is a template specialization.