Translate layouts and rendering. Closes #29.