Add layout support when rendering views