[Pharo-project] Adapting old code - MethodReference deprecated