Add support for views generated layouts