Might not need the replicated code.