Leaving only needed stuff