Custom layouts as _layoutImpl refactor part 1