diff --git a/src/Neuron/Neuron.cpp b/src/Neuron/Neuron.cpp
index 3f8b77f43c0e09f5b5b222642246e991e003ff61..0dd48b73606a3f89057e4dc318d118e7bdd413ca 100644
--- a/src/Neuron/Neuron.cpp
+++ b/src/Neuron/Neuron.cpp
@@ -1,6 +1,8 @@
 #include "NeuronSerialization.h"
 
 BOOST_CLASS_EXPORT_IMPLEMENT(lib4neuro::Neuron);
+//BOOST_CLASS_EXPORT_IMPLEMENT(lib4neuro::NeuronDifferentiable);
+
 
 namespace lib4neuro {
 
diff --git a/src/Neuron/Neuron.h b/src/Neuron/Neuron.h
index 88747a63ef073600dae1bce06bf9f34b4f4c0c61..cebea7010b5a72a3e35b7efe3767b953788dff8c 100644
--- a/src/Neuron/Neuron.h
+++ b/src/Neuron/Neuron.h
@@ -72,6 +72,13 @@ namespace lib4neuro {
  */
     class NeuronDifferentiable : public Neuron {
     public:
+
+        /**
+         * Struct used to access private properties from
+         * the serialization function
+         */
+        struct access;
+
         /**
          * Calculates the derivative with respect to the argument, ie the 'potential'
          * @return f'(x), where 'f(x)' is the activation function and 'x' = 'potential'