Updated in 67134fe

The cap stuff in get_post_type_object eluded me previously, that's slick.