Proper returning of parsed layout.