Fixes #3590: added info about passing parameters to layout