ArrayAccess

Implementing ArrayAccess to get a more intuitive way to store variables:
$tf["calc"] = new MyCalc(10);
$calc = $tf["calc"];

Instead of:
$tf->data->calc = new MyCalc(10);
$calc = $tf->data->calc;

$tf->data is still there for backward compatibility, but set to deprecated.