Add wrapper classes to layouts.