Adds api for changing ref table
Moves ref table to child push middleware
Fixes ref table add/remove methods
Makes passing from parent to child contexts more abstract