Layout grid and legend. Code linting.