Change visibility from public to protected 

Fix problem if this core class is overloaded multiple times (d3config for example)
Merge pull request #10 from rubas/patch-1

Change visibility from public to protected