Adds a extension to make automatic layouts