Fixed bugs and added wrap content sample.