Remove resources and exclude private header