Work version of erb layouts.
Has bug #1.