Make reference pushing take an actual reference to the object instead of by value