Made -persistentType returns -type by default