Add exploration code.