add INVALID to object::type enum