Add prefix and suffix to layout