Add missing type hints to replication code.