When registering a protocol, the container will now pay attention to a previous registration of the target class