Make the Layout property smarter