Fixed issue with virtual method lookups.