Layouts: Added cache macro.