Another effort at solving function pointer problem with inherited classes.

Not working as easily as I'd hoped. Committing for posterity.