Refactor layouts doc