Code style updated for Layouts.