Bug 832360 - Store an object's class as part of its type, r=jandem.