diff --git a/pcbnew/board.h b/pcbnew/board.h
index 5235ce0a09..2ca3ef930d 100644
--- a/pcbnew/board.h
+++ b/pcbnew/board.h
@@ -609,6 +609,7 @@ public:
      * @return the enabled layers in bit-mapped form.
      */
     LSET GetEnabledLayers() const;
+    LSET GetLayerSet() const override { return GetEnabledLayers(); }
 
     /**
      * A proxy function that calls the correspondent function in m_BoardSettings.
@@ -616,6 +617,7 @@ public:
      * @param aLayerMask the new bit-mask of enabled layers.
      */
     void SetEnabledLayers( LSET aLayerMask );
+    void SetLayerSet( const LSET& aLayerMask ) override { SetEnabledLayers( aLayerMask ); }
 
     /**
      * A proxy function that calls the correspondent function in m_BoardSettings