Fix virtual overloading.
Merge pull request #253 from docfaraday/fix_overloaded_virtual

Fix virtual overloading.