correct base class. fixes visibility problem.
Merge pull request #4 from craigh/visibilityfix

correct base class. fixes visibility problem.