papp: remove unused structures