Fix layer creation command

Fixes #148.