Can't mock objects with typehints that are not autoloadable.