add option to override built-in layer definition