Sanitize project for new plugin loader