Bug 1024506: Removing the addition of listeners from mock objects.