Added auto layout support.