Thinned library and some other stuff