Added support for layouts on Topic and TopicView.