Use null to indicate removed state.