Added feature to wrap player objects.