Add Miner class.