Clean up layout properties.