Function calls from instances should take inheritance into account.