Fixed bug in _all_impls()