Adds layout tracking