Allow passed params to be used in layout