Updated resource to work with the latest version of layers.