Added the layers directive.