Store layouts as list of strings rather list of characters.
Remove useless dependencies.