Minimise libraries thingy