Adding support for fragment with no layout.