Seems odd to call these on the layout object. Would it be better to call a function on masterLayout?