Added some code for the AutoPlayer strategy.