Patch for issue #1528
Documentation patch for issue #1528
Merge pull request #1540 from gamesbook/layer

Patch for #1528