Updated loads of old referencees to ctx