Implemented PointerType and changed permissions for setName in Type