Add index and default layout.