Use existing GetTyped() method
Use attribute names from “pwd” module, fixing apparent indexing error